.PHONY:all
all:servercal clientcal

Flag=#-DMyself=1
Lib=-ljsoncpp

servercal:ServerCalculator.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)
clientcal:ClientCalculator.cc
	g++ -o $@ $^ -std=c++11 -g $(Lib) $(Flag)


.PHONY:clean
clean:
	rm -f servercal clientcal
